package com.jic.member.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.member.entity.MemberFootprint;
import com.jic.member.request.MemberFootprintRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 会员足迹记录表
 * @author : 
 * @email : 
 * @since : 2020-01-13 04:22:41
 * @version : v1.0.0
 */
@Mapper
public interface  MemberFootprintMapper {

    long insert(MemberFootprint memberFootprint);

    long delete(Long id);

    long update(MemberFootprint memberFootprint);

    MemberFootprint queryByPrimaryKey(Long id);

    List<MemberFootprint> query(MemberFootprint memberFootprint);

    List<MemberFootprint> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("memberFootprintRequest") MemberFootprintRequest memberFootprintRequest);

    List<MemberFootprint> queryAll(@Param("memberFootprintRequest") MemberFootprintRequest memberFootprintRequest);

    long queryPageCount(@Param("memberFootprintRequest")MemberFootprintRequest memberFootprintRequest);
}
